var ec_right1 = echarts.init(document.getElementById('r1'));
var ec_right1_option = {
	//标题样式
	title:{
		text:"Top10销售书籍",
		textStyle:{
			color:'white',
		},
		left:'left'
	},
	color:['#e77b68'],
	tooltip:{
		trigger:'axis',
		axisPointer:{
			type:'shadow'
		}
	},
	xAxis:{
		type:'category',
			axisLabel: {
							interval: 0,    //强制文字产生间隔
							rotate: -45,     //文字旋转45°
							textStyle: {    //文字样式
									     color: "white",
							            fontSize: 8,
							            // fontFamily: 'Microsoft YaHei'
							            }
						   },
			data:['book1','book2','book3','book4','book5','book6','book7','book8','book9','book10']
		},
	yAxis:{
		type:'value'
	},
	series:[{
		data:[525,490,391,366,327,2148,538,943,254,51],
		type:'bar',
		barMaxWidth:"50%"
	}]
};
ec_right1.setOption(ec_right1_option)